fix(filesystem): still use std::filesystem::remove for folders
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 24 Apr 2025 08:07:47 +0000 (10:07 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 24 Apr 2025 09:18:11 +0000 (09:18 +0000)
commit3fee74a43b935594b0878e018161c3356a6aad6d
tree96524ec71d30e313a5182db02e9a766c76ee9031
parent9fd634cc0ec69f7a3fa7416365d4a4c550356034
fix(filesystem): still use std::filesystem::remove for folders

this API has a way to provide an error when failing to delete a folder

we may want to know why teh folderf ailed to be deleted

QDir::rmdir does not provide any error when failing to delete a folder

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/filesystem.cpp